package model;

import java.util.ArrayList;

import bean.ClienteFinBean;
import session.ClienteFinSession;


/**
 * @since 2011.06.13
 * @author mhurtado
 *
 */

public class ManClienteFinModel {
	
	ClienteFinSession clienteFinSession = new ClienteFinSession();

	public ArrayList<ClienteFinBean> listarClienteFin() throws Exception {				
		return clienteFinSession.listarClienteFin();
	}

	public void guardarClienteFin(ClienteFinBean clienteFinBean)
			throws Exception {
		clienteFinSession.guardarClienteFin(clienteFinBean);		
	}

	public void editarClienteFin(ClienteFinBean clienteFinBean)
			throws Exception {
		clienteFinSession.editarClienteFin(clienteFinBean);		
	}

	public void eliminarClienteFin(String id)
			throws Exception {
		clienteFinSession.eliminarClienteFin(id);		
	}

	public ClienteFinBean buscarIdClienteFinBean(String id) throws Exception {		
		return clienteFinSession.buscarIdClienteFinBean(id);
	}

	public ArrayList<ClienteFinBean> listarClienteFin(ClienteFinBean clienteFinBean)
			throws Exception {		
		return clienteFinSession.listarClienteFin(clienteFinBean);
	}

}
